<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Symfony\Component\Console\Input\Input;

class Pay extends Controller
{
    public function welcome(Request $request){
        if($request->route('is_pay')=="yes"){
            $user = DB::table('userinfo')->get();
            var_dump($user);
            exit();
        }
        return view('welcome');
    }
    public function wechat_pay(){
        echo "<div align='center'><img src='http://111.231.73.189:996/front/imgs/skewm.png'></div>";
    }
}
